home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / gem / l_0799 / 701 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.2 KB

  1. Date: Wed, 6 Jul 1994 10:51:19 -0400 (EDT)
  2. From: Timothy Miller <millert@undergrad.csee.usf.edu>
  3. Subject: Re: available keys
  4. To: gem-list@world.std.com
  5. In-Reply-To: <2e179462992ad@elfhaven.ersys.edmonton.ab.ca>
  6. Message-Id: <Pine.3.87.9407061019.A24239-0100000@grad>
  7. Mime-Version: 1.0
  8. Precedence: bulk
  9.  
  10. Forget:
  11.  
  12. )>If you used a 1-pixel rectangle, then your program would be interrupted
  13. )>every time the mouse moved.  This wouldn't take a whole lot more overhead
  14. )>than the interrupts that the OS gets from the hardware.
  15. )
  16. )The point is that you are not using a one pixel rectangle; most of the
  17. )time you are using fairly large rectangles.  This is _HARD_ to
  18. )implement, and harder to understand, but if you have working source
  19. )code you do not need to worry about it much; check out Tim Oren's
  20. )ProGEM series of articles; it has source code for this, and an
  21. )explanation (if you can wade through the complexities of it; it was
  22. )a long time ago that I read it, but I'm pretty sure it went right
  23. )over my head at the time).
  24.  
  25. I KNOW it's hard, which is why I suggested using a 1-pixel rectangle.
  26. But others are correct... if you track a 1-pixel rectangle, then you'd 
  27. have to call objc_find every time the mouse moved, which WOULD cause a 
  28. lot of overhead.
  29.  
  30.  
  31.  
  32.